package com.example.demo.mapper;


import com.example.demo.vo.BlobVo;
import com.example.demo.vo.CensusImageVo;
import com.example.demo.vo.ImageVo;
import com.example.demo.vo.BlobImageBase64;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface BlobImageMapper {

    List<BlobVo> getImage();

    List<ImageVo> getImageId();


    //根据普查查询的id做为入参，取图片
    CensusImageVo getCensusImage(@Param("ao") ImageVo imageVo);


    List<CensusImageVo> getAllCensusTasks(); //取普查表所有字段


//    List<CensusTaskExportVo> getAllCensusTasks(); //取普查表所有字段

//    List<BlobImageBase64> getBase64ImagesByIds(@Param("imageIds") List<Integer> imageIds);


    List<BlobImageBase64> getBase64ImagesByIds(@Param("imageIds") List<Integer> imageIds);

}

